package com.shuiyun.entity;

import java.util.Date;

public class Goods {
    private Integer goodsId;

    private String goodsName;

    private Integer goodsStartPortId;

    private Integer goodsEndPortId;

    private Integer goodsState;

    private Float goodsPrice;

    private String goodsTransport;

    private Integer userId;

    private String reason;

    //一对一
    //起始港口
    private Port startPort;
    //目标港口
    private Port endPort;
    //用户
    private User user;

    public Port getStartPort() {
        return startPort;
    }

    public void setStartPort(Port startPort) {
        this.startPort = startPort;
    }

    public Port getEndPort() {
        return endPort;
    }

    public void setEndPort(Port endPort) {
        this.endPort = endPort;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public Integer getGoodsStartPortId() {
        return goodsStartPortId;
    }

    public void setGoodsStartPortId(Integer goodsStartPortId) {
        this.goodsStartPortId = goodsStartPortId;
    }

    public Integer getGoodsEndPortId() {
        return goodsEndPortId;
    }

    public void setGoodsEndPortId(Integer goodsEndPortId) {
        this.goodsEndPortId = goodsEndPortId;
    }

    public Integer getGoodsState() {
        return goodsState;
    }

    public void setGoodsState(Integer goodsState) {
        this.goodsState = goodsState;
    }

    public Float getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Float goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsTransport() {
        return goodsTransport;
    }

    public void setGoodsTransport(String goodsTransport) {
        this.goodsTransport = goodsTransport;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }


}